package com.example.tool.task.networkTool;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.example.tool.task.LisSampleArchive;

/**
 * @Author lz
 * @Date 2022/2/23 16:18
 */
public class WebSer {
//
//    public static void main(String[] args) {
//
//        String url = requestHost; //提供接口的地址
//        String soapaction = "http://winning.com.cn/"; // 域名
//        Service service = new Service();
//        Call call =  service.createCall();
//        call.setTargetEndpointAddress(url);
//        call.setTimeout(5000);
//        call.setOperationName(new QName(soapaction, "Process"));
//        call.addParameter(new QName(soapaction, "type"),
//                org.apache.axis.encoding.XMLType.XSD_STRING,
//                javax.xml.rpc.ParameterMode.IN);
//        call.addParameter(new QName(soapaction, "inParam"),
//                org.apache.axis.encoding.XMLType.XSD_STRING,
//                javax.xml.rpc.ParameterMode.IN);
//
//        call.setReturnType(org.apache.axis.encoding.XMLType.SOAP_STRING);
//        call.setUseSOAPAction(true);
//        call.setSOAPActionURI("http://winning.com.cn/TechAdapterService");-
//
//        String msgType = "PatientInfo";
//        String input = "{ \t\"patientType\": \"O 门诊，I 住院\", \t\"patientNo\": \"门诊流水号/住院流水号\" }";
//        System.out.println("input    " + input);
////        str = (String) call.invoke(new Object[]{msgType, input});
//    }

    public static void main(String[] args) {

        LisSampleArchive lisSampleArchive = new LisSampleArchive();

//        lisSampleArchive.setArchiveBy();
//        lisSampleArchive.setArchivePlace();
//        lisSampleArchive.setArchiveTime();
//        lisSampleArchive.setCreateBy();
//        lisSampleArchive.setCreateTime();
//        lisSampleArchive.setDr();
//        lisSampleArchive.setInspectId();
//        lisSampleArchive.setUpdateBy();
//        lisSampleArchive.setSampleId();
//        lisSampleArchive.setUpdateTime();
        String s = JSON.toJSONString(lisSampleArchive);


        System.out.println(s);


    }


}
